<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>角色授权</title>
<%@include file="/view/common/js-css.jsp"%>
</head>
<body>
	<div id="frameWrapper" class="frameWrapper">
		<div class="titlebar">
			<p>
				当前位置：系统管理<span>/</span>角色授权
			</p>
		</div>
		<div class="searchbar"></div>
		<div id="table-wrap">
			<table border="1">
				<thead>
					<tr>
						<th>编号</th>
						<th>职称</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${roleList }" var="role">
						<tr>
							<td>${role.role_id }</td>
							<td>${role.role_name }</td>
							<td class="do"><a
								href="${pageContext.request.contextPath }/RoleServlet?command=gotoGrant&roleId=${role.role_id }"
								target="iframe" class="btn btn-update"><i
									class="fa fa-pencil"></i>授权</a></td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</body>
</html>